<!DOCTYPE html>
<head>
  <meta charset="utf-8">
  <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><![endif]-->
  <title><?php echo $title;?></title>
  <meta name="keywords" content="" />
  <meta name="description" content="" />
  <meta name="viewport" content="width=device-width">        
  <link rel="stylesheet" href="<?=base_url()?>css/templatemo_main.css">
  <link rel="stylesheet" href="<?=base_url()?>css/jquery-ui.min.css" />
  <script src="<?=base_url()?>js/jquery.min.js"></script>
    <script src="<?=base_url()?>js/jquery.ajaxfileupload.js"></script>
   <script src="<?=base_url()?>js/bootstrap.min.js"></script>
   <script src="<?=base_url()?>js/Chart.min.js"></script>
   <script src="<?=base_url()?>js/templatemo_script.js"></script>
   <script src="<?=base_url()?>js/jquery-ui.min.js"></script>
   <script src="<?=base_url()?>js/highcharts.js"></script>
</head>
<body>
	<div class="navbar navbar-inverse" role="navigation">
      <div class="navbar-header">
        <div class="logo"><h1>集市宝仓库管理系统</h1></div>
        <a href="http://www.jishi88.com/main" target="_blank">查看首页</a>
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button> 
      </div>   
    </div>
    <div class="template-page-wrapper">
      <div class="navbar-collapse collapse templatemo-sidebar">
        <ul class="templatemo-sidebar-menu">
                 
          <li class="<?php echo $this->uri->segment(1) == 'order' ?'active':'';?>"><a href="<?=site_url()?>/order/index"><i class="fa fa-cubes"></i><span class="badge pull-right"></span>订单管理</a></li>
          <li class="<?php echo $this->uri->segment(1) == 'cost' ?'active':'';?>"><a href="<?=site_url()?>/cost/index"><i class="fa fa-cubes"></i><span class="badge pull-right"></span>成本分析</a></li>
          <li class="<?php echo $this->uri->segment(1) == 'product' ?'active':'';?>"><a href="<?=site_url()?>/product/index"><i class="fa fa-database"></i><span class="pull-right"></span>商品管理</a></li>
          <li class="<?php echo $this->uri->segment(1) == 'supply' ?'active':'';?>"><a href="<?=site_url()?>/supply/index"><i class="fa fa-database"></i><span class="pull-right"></span>进货单管理</a></li>
           <li class="<?php echo $this->uri->segment(1) == 'stock' ?'active':'';?>"><a href="<?=site_url()?>/stock/index"><i class="fa fa-database"></i><span class="pull-right"></span>库存商品管理</a></li>
           <li class="<?php echo $this->uri->segment(1) == 'advise' ?'active':'';?>"><a href="<?=site_url()?>/advise/index"><i class="fa fa-cog"></i>建议管理</a></li>
           <li class="<?php echo $this->uri->segment(1) == 'newproduct' ?'active':'';?>"><a href="<?=site_url()?>/newproduct/index"><i class="fa fa-cog"></i>新品管理</a></li>
           <li><a href="<?=site_url()?>/index_admin/logout"><i class="fa fa-sign-out"></i>退出登陆</a></li>
           <!--<li class="sub open">
            <a href="javascript:;">
              <i class="fa fa-database"></i> Nested Menu <div class="pull-right"><span class="caret"></span></div>
            </a>
            <ul class="templatemo-submenu">
              <li><a href="#">Aenean</a></li>
              <li><a href="#">Pellentesque</a></li>
              <li><a href="#">Congue</a></li>             
              <li><a href="#">Interdum</a></li>
              <li><a href="#">Facilisi</a></li>
            </ul>
          </li>-->
        </ul>
      </div><!--/.navbar-collapse -->